#ifndef STATICMAIN_H
#define STATICMAIN_H

#include "project.h"
#include "sample.h"
#include "physicist.h"

#include <QList>
#include <QFile>
#include <QDir>
#include <QDomDocument>
#include <QMessageBox>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>

class StaticMain
{
public:
    StaticMain();
    void LoadTemplates();

    void AddPhysicists(QString prename, QString lastname, QString team);
    QList<physicist> GetRegPhysList();
    QList<sample> GetRegSamples();

    physicist GetRegPhys(int id);

    project currentproject;
    //project GetCurrentProject();



private:
    QList<sample> registeredsamples;
    QList<physicist> registeredphysicists;
    void LoadPhysicists();
    void LoadSamples();

};

#endif // STATICMAIN_H
